@import './base.scss';
@import './variable.scss';

header {
    height: 88px;
    padding: 22px 0;
    box-sizing: border-box;
    @extend type_area;

    .logo {
        height: 100%;
        overflow: hidden;

        h1 {
            width: 110px;
            height: 44px;
            display: block;
            float: left;
            zoom: 1;

            .logo-link {
                width: 72px;
                height: 45px;

                img {
                    width: 100%;
                    height: 100%;
                }
            }
        }

        .link {
            float: right;
            line-height: 44px;

            p {
                font-size: 12px;
                color: #666;
                text-indent: 20px;
                background: url(../images/login/消息.png) no-repeat left center;
                background-size: 16px 16px;

                &:hover {
                    color: $theme;
                }
            }
        }
    }
}

section {
    width: 100%;
    position: relative;

    .loginBox {
        width: 100%;
        height: 600px;
        position: relative;
        background: url(https://gtms01.alicdn.com/tps/i1/TB1GTCYLXXXXXcHXpXXcoeQ2VXX-2500-600.jpg) no-repeat;
        // position: absolute;
        z-index: 1;
        top: 0;
        left: 0;
        background-size: cover;
        background-position: 50%;

        .content-layout {
            @extend type_area;
            overflow: hidden;
            position: relative;
            height: 600px;
            z-index: 2;

            .loginUser {
                position: absolute;
                top: 120px;
                right: 60px;
                width: 350px;
                min-height: 350px;
                padding: 25px 25px 23px;
                color: #6c6c6c;
                background: #fff;
                box-sizing: border-box;

                a {
                    height: 18px;
                    line-height: 5px;
                    font-size: 16px;
                    color: #3c3c3c;
                    margin: 9px 10px 0 0;
                    font-weight: 700;
                    display: inline-block;
                }

                a.active {
                    border-bottom: 2px solid #3c3c3c
                }

                .erro {
                    width: 100%;
                    height: 30px;
                    display: none;
                    border: 1px solid #ff934c;
                    background: #fefcee;
                    margin-top: 12px;
                    font-size: 14px;
                    padding: 5px 8px;
                    overflow: hidden;
                    box-sizing: border-box;
                    color: #999;
                    background: url(../images/login/警告.png) left center no-repeat;
                    background-size: 16px 16px;
                    padding-left: 20px;
                }

                .userName {
                    width: 300px;
                    height: 40px;
                    margin: 14px 0 20px 0;

                    input {
                        @extend input_area;
                        background: url(../images/login/我的.png) no-repeat left center;
                        background-color: white;
                        text-indent: 50px;
                    }
                }

                .password {
                    width: 300px;
                    height: 40px;
                    margin-bottom: 20px;

                    input {
                        background: url(../images/login/密码.png) no-repeat left center;
                        background-color: #fff;
                        @extend input_area;
                        text-indent: 50px;
                    }
                }

                .sub {
                    width: 300px;
                    height: 40px;
                    margin-bottom: 20px;

                    button {
                        background-color: $theme;
                        @extend input_area;
                        color: white;
                        font-weight: 700;
                        cursor: pointer;

                        &:hover {
                            background-color: darken($theme, 10);
                        }
                    }
                }

                .sp1 {
                    font-size: 12px;
                    cursor: pointer;
                    margin-bottom: 14px;

                    .wb {
                        background: url(../images/login/微博.png) no-repeat left center;
                        background-size: 16px 16px;
                        padding: 0 10px 0 20px;
                    }

                    .zfb {
                        background: url(../images/login/支付宝.png) no-repeat left center;
                        background-size: 16px 16px;
                        padding: 0 12px 0 20px;
                    }
                }

                .sp2 {
                    font-size: 12px;
                    text-align: right;

                    span {
                        cursor: pointer;
                        margin-left: 10px;
                    }
                }
            }
        }
    }
}

footer {
    position: relative;
    margin: 60px auto 0;
    padding: 7px 0 9px;
    border-top: 1px solid #ddd;
    width: 1200px;
    font-size: 16px;

    a {
        margin: 0 4px;
    }

    .footer-bd {
        p {
            em {
                color: #9c9c9c;
            }
        }
    }
}